using System;
using DevExpress.Xpo;
namespace Component
{

    public class TextStatic : XPLiteObject
    {
        int fId;
        [Key(true)]
        public int Id
        {
            get { return fId; }
            set { SetPropertyValue<int>("Id", ref fId, value); }
        }
        string fKeyWord;
        [Size(1000)]
        public string KeyWord
        {
            get { return fKeyWord; }
            set { SetPropertyValue<string>("KeyWord", ref fKeyWord, value); }
        }
        string fVN;
        [Size(1000)]
        public string VN
        {
            get { return fVN; }
            set { SetPropertyValue<string>("VN", ref fVN, value); }
        }
        string fEL;
        [Size(1000)]
        public string EL
        {
            get { return fEL; }
            set { SetPropertyValue<string>("EL", ref fEL, value); }
        }
        public TextStatic(Session session) : base(session) { }
        public TextStatic() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }

    public class News : XPLiteObject
    {
        int fId;
        [Key(true)]
        public int Id
        {
            get { return fId; }
            set { SetPropertyValue<int>("Id", ref fId, value); }
        }
        string fTitile;
        [Size(500)]
        public string Titile
        {
            get { return fTitile; }
            set { SetPropertyValue<string>("Titile", ref fTitile, value); }
        }
        string fSummary;
        [Size(1073741823)]
        public string Summary
        {
            get { return fSummary; }
            set { SetPropertyValue<string>("Summary", ref fSummary, value); }
        }
        DateTime fDate;
        public DateTime Date
        {
            get { return fDate; }
            set { SetPropertyValue<DateTime>("Date", ref fDate, value); }
        }
        string fContent;
        [Size(1073741823)]
        public string Content
        {
            get { return fContent; }
            set { SetPropertyValue<string>("Content", ref fContent, value); }
        }
        string fUrlDetailFronend;
        [Size(1000)]
        public string UrlDetailFronend
        {
            get { return fUrlDetailFronend; }
            set { SetPropertyValue<string>("UrlDetailFronend", ref fUrlDetailFronend, value); }
        }
        string fUrlDetailBackend;
        [Size(1000)]
        public string UrlDetailBackend
        {
            get { return fUrlDetailBackend; }
            set { SetPropertyValue<string>("UrlDetailBackend", ref fUrlDetailBackend, value); }
        }
        string fImg;
        [Size(500)]
        public string Img
        {
            get { return fImg; }
            set { SetPropertyValue<string>("Img", ref fImg, value); }
        }
        string fNew;
        [Size(20)]
        public string New
        {
            get { return fNew; }
            set { SetPropertyValue<string>("New", ref fNew, value); }
        }
        bool fActive;
        public bool Active
        {
            get { return fActive; }
            set { SetPropertyValue<bool>("Active", ref fActive, value); }
        }
        public News(Session session) : base(session) { }
        public News() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }

    public class TuyenDung : XPLiteObject
    {
        int fId;
        [Key(true)]
        public int Id
        {
            get { return fId; }
            set { SetPropertyValue<int>("Id", ref fId, value); }
        }
        string fTitile;
        [Size(500)]
        public string Titile
        {
            get { return fTitile; }
            set { SetPropertyValue<string>("Titile", ref fTitile, value); }
        }
        string fSummary;
        [Size(1073741823)]
        public string Summary
        {
            get { return fSummary; }
            set { SetPropertyValue<string>("Summary", ref fSummary, value); }
        }
        DateTime fDate;
        public DateTime Date
        {
            get { return fDate; }
            set { SetPropertyValue<DateTime>("Date", ref fDate, value); }
        }
        string fContent;
        [Size(1073741823)]
        public string Content
        {
            get { return fContent; }
            set { SetPropertyValue<string>("Content", ref fContent, value); }
        }
        string fUrlDetailFronend;
        [Size(1000)]
        public string UrlDetailFronend
        {
            get { return fUrlDetailFronend; }
            set { SetPropertyValue<string>("UrlDetailFronend", ref fUrlDetailFronend, value); }
        }
        string fUrlDetailBackend;
        [Size(1000)]
        public string UrlDetailBackend
        {
            get { return fUrlDetailBackend; }
            set { SetPropertyValue<string>("UrlDetailBackend", ref fUrlDetailBackend, value); }
        }
        string fImg;
        [Size(500)]
        public string Img
        {
            get { return fImg; }
            set { SetPropertyValue<string>("Img", ref fImg, value); }
        }
        bool fNew;
        public bool New
        {
            get { return fNew; }
            set { SetPropertyValue<bool>("New", ref fNew, value); }
        }
        bool fActive;
        public bool Active
        {
            get { return fActive; }
            set { SetPropertyValue<bool>("Active", ref fActive, value); }
        }
        public TuyenDung(Session session) : base(session) { }
        public TuyenDung() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }

    public class Province : XPLiteObject
    {
        int fId;
        [Key(true)]
        public int Id
        {
            get { return fId; }
            set { SetPropertyValue<int>("Id", ref fId, value); }
        }
        string fCode;
        [Size(200)]
        public string Code
        {
            get { return fCode; }
            set { SetPropertyValue<string>("Code", ref fCode, value); }
        }
        string fName;
        [Size(500)]
        public string Name
        {
            get { return fName; }
            set { SetPropertyValue<string>("Name", ref fName, value); }
        }
        public Province(Session session) : base(session) { }
        public Province() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }

    public class Ward : XPLiteObject
    {
        int fId;
        [Key(true)]
        public int Id
        {
            get { return fId; }
            set { SetPropertyValue<int>("Id", ref fId, value); }
        }
        string fName;
        [Size(200)]
        public string Name
        {
            get { return fName; }
            set { SetPropertyValue<string>("Name", ref fName, value); }
        }
        string fCode1;
        [Size(200)]
        public string Code1
        {
            get { return fCode1; }
            set { SetPropertyValue<string>("Code1", ref fCode1, value); }
        }
        string fCode2;
        [Size(50)]
        public string Code2
        {
            get { return fCode2; }
            set { SetPropertyValue<string>("Code2", ref fCode2, value); }
        }
        public Ward(Session session) : base(session) { }
        public Ward() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }

    public class Advertisement : XPLiteObject
    {
        int fId;
        [Key(true)]
        public int Id
        {
            get { return fId; }
            set { SetPropertyValue<int>("Id", ref fId, value); }
        }
        string fNameCty;
        [Size(200)]
        public string NameCty
        {
            get { return fNameCty; }
            set { SetPropertyValue<string>("NameCty", ref fNameCty, value); }
        }
        string fUrl;
        [Size(500)]
        public string Url
        {
            get { return fUrl; }
            set { SetPropertyValue<string>("Url", ref fUrl, value); }
        }
        string fUrlAdmin;
        [Size(500)]
        public string UrlAdmin
        {
            get { return fUrlAdmin; }
            set { SetPropertyValue<string>("UrlAdmin", ref fUrlAdmin, value); }
        }
        string fPosition;
        [Size(50)]
        public string Position
        {
            get { return fPosition; }
            set { SetPropertyValue<string>("Position", ref fPosition, value); }
        }
        string fUrlImg;
        [Size(500)]
        public string UrlImg
        {
            get { return fUrlImg; }
            set { SetPropertyValue<string>("UrlImg", ref fUrlImg, value); }
        }
        bool fActive;
        public bool Active
        {
            get { return fActive; }
            set { SetPropertyValue<bool>("Active", ref fActive, value); }
        }
        public Advertisement(Session session) : base(session) { }
        public Advertisement() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }

    public class Contact : XPLiteObject
    {
        int fId;
        [Key(true)]
        public int Id
        {
            get { return fId; }
            set { SetPropertyValue<int>("Id", ref fId, value); }
        }
        DateTime fDate;
        public DateTime Date
        {
            get { return fDate; }
            set { SetPropertyValue<DateTime>("Date", ref fDate, value); }
        }
        string fFullName;
        [Size(50)]
        public string FullName
        {
            get { return fFullName; }
            set { SetPropertyValue<string>("FullName", ref fFullName, value); }
        }
        string fContent;
        [Size(2000)]
        public string Content
        {
            get { return fContent; }
            set { SetPropertyValue<string>("Content", ref fContent, value); }
        }
        string fCountry;
        [Size(200)]
        public string Country
        {
            get { return fCountry; }
            set { SetPropertyValue<string>("Country", ref fCountry, value); }
        }
        string fProvince;
        [Size(500)]
        public string Province
        {
            get { return fProvince; }
            set { SetPropertyValue<string>("Province", ref fProvince, value); }
        }
        string fWard;
        [Size(500)]
        public string Ward
        {
            get { return fWard; }
            set { SetPropertyValue<string>("Ward", ref fWard, value); }
        }
        string fAddress;
        [Size(10)]
        public string Address
        {
            get { return fAddress; }
            set { SetPropertyValue<string>("Address", ref fAddress, value); }
        }
        string fMail;
        public string Mail
        {
            get { return fMail; }
            set { SetPropertyValue<string>("Mail", ref fMail, value); }
        }
        string fPhone;
        [Size(50)]
        public string Phone
        {
            get { return fPhone; }
            set { SetPropertyValue<string>("Phone", ref fPhone, value); }
        }
        string fCompanyName;
        [Size(200)]
        public string CompanyName
        {
            get { return fCompanyName; }
            set { SetPropertyValue<string>("CompanyName", ref fCompanyName, value); }
        }
        string fCartUrl;
        [Size(500)]
        public string CartUrl
        {
            get { return fCartUrl; }
            set { SetPropertyValue<string>("CartUrl", ref fCartUrl, value); }
        }
        int fCart;
        public int Cart
        {
            get { return fCart; }
            set { SetPropertyValue<int>("Cart", ref fCart, value); }
        }
        public Contact(Session session) : base(session) { }
        public Contact() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }

    public class SubMenu : XPLiteObject
    {
        Menu fMenuId;
        public Menu MenuId
        {
            get { return fMenuId; }
            set { SetPropertyValue<Menu>("MenuId", ref fMenuId, value); }
        }
        string fContent;
        [Size(1073741823)]
        public string Content
        {
            get { return fContent; }
            set { SetPropertyValue<string>("Content", ref fContent, value); }
        }
        string fName;
        [Size(50)]
        public string Name
        {
            get { return fName; }
            set { SetPropertyValue<string>("Name", ref fName, value); }
        }
        int fId;
        [Key(true)]
        public int Id
        {
            get { return fId; }
            set { SetPropertyValue<int>("Id", ref fId, value); }
        }
        public SubMenu(Session session) : base(session) { }
        public SubMenu() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }

    public class Introduction : XPLiteObject
    {
        int fId;
        [Key(true)]
        public int Id
        {
            get { return fId; }
            set { SetPropertyValue<int>("Id", ref fId, value); }
        }
        string fContentVN;
        [Size(1073741823)]
        public string ContentVN
        {
            get { return fContentVN; }
            set { SetPropertyValue<string>("ContentVN", ref fContentVN, value); }
        }
        public Introduction(Session session) : base(session) { }
        public Introduction() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }

    public class Product : XPLiteObject
    {
        int fId;
        [Key(true)]
        public int Id
        {
            get { return fId; }
            set { SetPropertyValue<int>("Id", ref fId, value); }
        }
        bool fBestSeller;
        public bool BestSeller
        {
            get { return fBestSeller; }
            set { SetPropertyValue<bool>("BestSeller", ref fBestSeller, value); }
        }
        int fPriority;
        public int Priority
        {
            get { return fPriority; }
            set { SetPropertyValue<int>("Priority", ref fPriority, value); }
        }
        int fvote;
        public int vote
        {
            get { return fvote; }
            set { SetPropertyValue<int>("vote", ref fvote, value); }
        }
        int fparent;
        public int parent
        {
            get { return fparent; }
            set { SetPropertyValue<int>("parent", ref fparent, value); }
        }
        string fName;
        [Size(550)]
        public string Name
        {
            get { return fName; }
            set { SetPropertyValue<string>("Name", ref fName, value); }
        }
        string fNameEL;
        [Size(150)]
        public string NameEL
        {
            get { return fNameEL; }
            set { SetPropertyValue<string>("NameEL", ref fNameEL, value); }
        }
        string fStypeCat;
        [Size(150)]
        public string StypeCat
        {
            get { return fStypeCat; }
            set { SetPropertyValue<string>("StypeCat", ref fStypeCat, value); }
        }
        string fDescription;
        [Size(1073741823)]
        public string Description
        {
            get { return fDescription; }
            set { SetPropertyValue<string>("Description", ref fDescription, value); }
        }
        string fDescriptionEL;
        [Size(1000)]
        public string DescriptionEL
        {
            get { return fDescriptionEL; }
            set { SetPropertyValue<string>("DescriptionEL", ref fDescriptionEL, value); }
        }
        string fImage;
        [Size(250)]
        public string Image
        {
            get { return fImage; }
            set { SetPropertyValue<string>("Image", ref fImage, value); }
        }
        DateTime fDateCreate;
        public DateTime DateCreate
        {
            get { return fDateCreate; }
            set { SetPropertyValue<DateTime>("DateCreate", ref fDateCreate, value); }
        }
        string fUrlDetailBackend;
        [Size(500)]
        public string UrlDetailBackend
        {
            get { return fUrlDetailBackend; }
            set { SetPropertyValue<string>("UrlDetailBackend", ref fUrlDetailBackend, value); }
        }
        string fUrlDetailFronend;
        [Size(500)]
        public string UrlDetailFronend
        {
            get { return fUrlDetailFronend; }
            set { SetPropertyValue<string>("UrlDetailFronend", ref fUrlDetailFronend, value); }
        }
        double fPriceVN;
        public double PriceVN
        {
            get { return fPriceVN; }
            set { SetPropertyValue<double>("PriceVN", ref fPriceVN, value); }
        }
        double fPrice;
        public double Price
        {
            get { return fPrice; }
            set { SetPropertyValue<double>("Price", ref fPrice, value); }
        }
        bool fSpecial;
        public bool Special
        {
            get { return fSpecial; }
            set { SetPropertyValue<bool>("Special", ref fSpecial, value); }
        }
        bool fNew;
        public bool New
        {
            get { return fNew; }
            set { SetPropertyValue<bool>("New", ref fNew, value); }
        }
        bool fActive;
        public bool Active
        {
            get { return fActive; }
            set { SetPropertyValue<bool>("Active", ref fActive, value); }
        }
        public Product(Session session) : base(session) { }
        public Product() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }

    public class Users : XPLiteObject
    {
        int fId;
        [Key(true)]
        public int Id
        {
            get { return fId; }
            set { SetPropertyValue<int>("Id", ref fId, value); }
        }
        string fName;
        [Size(50)]
        public string Name
        {
            get { return fName; }
            set { SetPropertyValue<string>("Name", ref fName, value); }
        }
        string fPhone;
        [Size(15)]
        public string Phone
        {
            get { return fPhone; }
            set { SetPropertyValue<string>("Phone", ref fPhone, value); }
        }
        string fMail;
        [Size(50)]
        public string Mail
        {
            get { return fMail; }
            set { SetPropertyValue<string>("Mail", ref fMail, value); }
        }
        string fUser_name;
        [Size(50)]
        public string User_name
        {
            get { return fUser_name; }
            set { SetPropertyValue<string>("User_name", ref fUser_name, value); }
        }
        string fPass;
        [Size(50)]
        public string Pass
        {
            get { return fPass; }
            set { SetPropertyValue<string>("Pass", ref fPass, value); }
        }
        DateTime fDatecreated;
        public DateTime Datecreated
        {
            get { return fDatecreated; }
            set { SetPropertyValue<DateTime>("Datecreated", ref fDatecreated, value); }
        }
        DateTime fDatelogin;
        public DateTime Datelogin
        {
            get { return fDatelogin; }
            set { SetPropertyValue<DateTime>("Datelogin", ref fDatelogin, value); }
        }
        bool fActive;
        public bool Active
        {
            get { return fActive; }
            set { SetPropertyValue<bool>("Active", ref fActive, value); }
        }
        public Users(Session session) : base(session) { }
        public Users() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }

    [Persistent("khonggianluat_buomto.Part")]
    public class khonggianluat_buomto_Part : XPLiteObject
    {
        int fId;
        [Key(true)]
        public int Id
        {
            get { return fId; }
            set { SetPropertyValue<int>("Id", ref fId, value); }
        }
        string fName;
        [Size(200)]
        public string Name
        {
            get { return fName; }
            set { SetPropertyValue<string>("Name", ref fName, value); }
        }
        string fDescription;
        [Size(500)]
        public string Description
        {
            get { return fDescription; }
            set { SetPropertyValue<string>("Description", ref fDescription, value); }
        }
        string fImage;
        [Size(200)]
        public string Image
        {
            get { return fImage; }
            set { SetPropertyValue<string>("Image", ref fImage, value); }
        }
        string fAddress;
        [Size(200)]
        public string Address
        {
            get { return fAddress; }
            set { SetPropertyValue<string>("Address", ref fAddress, value); }
        }
        bool fSpecial;
        public bool Special
        {
            get { return fSpecial; }
            set { SetPropertyValue<bool>("Special", ref fSpecial, value); }
        }
        string fPhone;
        [Size(50)]
        public string Phone
        {
            get { return fPhone; }
            set { SetPropertyValue<string>("Phone", ref fPhone, value); }
        }
        string fEmail;
        public string Email
        {
            get { return fEmail; }
            set { SetPropertyValue<string>("Email", ref fEmail, value); }
        }
        string fFax;
        [Size(50)]
        public string Fax
        {
            get { return fFax; }
            set { SetPropertyValue<string>("Fax", ref fFax, value); }
        }
        bool fActive;
        public bool Active
        {
            get { return fActive; }
            set { SetPropertyValue<bool>("Active", ref fActive, value); }
        }
        public khonggianluat_buomto_Part(Session session) : base(session) { }
        public khonggianluat_buomto_Part() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }

    public class Gallery : XPLiteObject
    {
        int fId;
        [Key(true)]
        public int Id
        {
            get { return fId; }
            set { SetPropertyValue<int>("Id", ref fId, value); }
        }
        string fPath;
        [Size(1000)]
        public string Path
        {
            get { return fPath; }
            set { SetPropertyValue<string>("Path", ref fPath, value); }
        }
        int fPriority;
        public int Priority
        {
            get { return fPriority; }
            set { SetPropertyValue<int>("Priority", ref fPriority, value); }
        }
        public Gallery(Session session) : base(session) { }
        public Gallery() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }

    public class Menu : XPLiteObject
    {
        int fId;
        [Key(true)]
        public int Id
        {
            get { return fId; }
            set { SetPropertyValue<int>("Id", ref fId, value); }
        }
        string fNameFrontend;
        [Size(500)]
        public string NameFrontend
        {
            get { return fNameFrontend; }
            set { SetPropertyValue<string>("NameFrontend", ref fNameFrontend, value); }
        }
        string fNameAdmin;
        [Size(500)]
        public string NameAdmin
        {
            get { return fNameAdmin; }
            set { SetPropertyValue<string>("NameAdmin", ref fNameAdmin, value); }
        }
        int fPriority;
        public int Priority
        {
            get { return fPriority; }
            set { SetPropertyValue<int>("Priority", ref fPriority, value); }
        }
        string ftablecsdl;
        [Size(50)]
        public string tablecsdl
        {
            get { return ftablecsdl; }
            set { SetPropertyValue<string>("tablecsdl", ref ftablecsdl, value); }
        }
        string fUrl;
        [Size(500)]
        public string Url
        {
            get { return fUrl; }
            set { SetPropertyValue<string>("Url", ref fUrl, value); }
        }
        string fSystem;
        [Size(10)]
        public string System
        {
            get { return fSystem; }
            set { SetPropertyValue<string>("System", ref fSystem, value); }
        }
        bool fActive;
        public bool Active
        {
            get { return fActive; }
            set { SetPropertyValue<bool>("Active", ref fActive, value); }
        }
        public Menu(Session session) : base(session) { }
        public Menu() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }

    public class lienKetKH : XPLiteObject
    {
        int fId;
        [Key(true)]
        public int Id
        {
            get { return fId; }
            set { SetPropertyValue<int>("Id", ref fId, value); }
        }
        string fNameCty;
        [Size(200)]
        public string NameCty
        {
            get { return fNameCty; }
            set { SetPropertyValue<string>("NameCty", ref fNameCty, value); }
        }
        string fUrl;
        [Size(500)]
        public string Url
        {
            get { return fUrl; }
            set { SetPropertyValue<string>("Url", ref fUrl, value); }
        }
        string fUrlAdmin;
        [Size(500)]
        public string UrlAdmin
        {
            get { return fUrlAdmin; }
            set { SetPropertyValue<string>("UrlAdmin", ref fUrlAdmin, value); }
        }
        int fPriority;
        public int Priority
        {
            get { return fPriority; }
            set { SetPropertyValue<int>("Priority", ref fPriority, value); }
        }
        string fUrlImg;
        [Size(500)]
        public string UrlImg
        {
            get { return fUrlImg; }
            set { SetPropertyValue<string>("UrlImg", ref fUrlImg, value); }
        }
        string fFileUrl;
        [Size(500)]
        public string FileUrl
        {
            get { return fFileUrl; }
            set { SetPropertyValue<string>("FileUrl", ref fFileUrl, value); }
        }
        string fType;
        [Size(50)]
        public string Type
        {
            get { return fType; }
            set { SetPropertyValue<string>("Type", ref fType, value); }
        }
        int fIdCate;
        public int IdCate
        {
            get { return fIdCate; }
            set { SetPropertyValue<int>("IdCate", ref fIdCate, value); }
        }
        bool fActive;
        public bool Active
        {
            get { return fActive; }
            set { SetPropertyValue<bool>("Active", ref fActive, value); }
        }
        public lienKetKH(Session session) : base(session) { }
        public lienKetKH() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }

    public class Category : XPLiteObject
    {
        int fId;
        [Key(true)]
        public int Id
        {
            get { return fId; }
            set { SetPropertyValue<int>("Id", ref fId, value); }
        }
        string fName;
        public string Name
        {
            get { return fName; }
            set { SetPropertyValue<string>("Name", ref fName, value); }
        }
        string fContent;
        [Size(SizeAttribute.Unlimited)]
        public string Content
        {
            get { return fContent; }
            set { SetPropertyValue<string>("Content", ref fContent, value); }
        }
        string fkind;
        [Size(10)]
        public string kind
        {
            get { return fkind; }
            set { SetPropertyValue<string>("kind", ref fkind, value); }
        }
        int fParent;
        public int Parent
        {
            get { return fParent; }
            set { SetPropertyValue<int>("Parent", ref fParent, value); }
        }
        string fpathFolderImg;
        [Size(200)]
        public string pathFolderImg
        {
            get { return fpathFolderImg; }
            set { SetPropertyValue<string>("pathFolderImg", ref fpathFolderImg, value); }
        }
        string fUrlFronent;
        [Size(500)]
        public string UrlFronent
        {
            get { return fUrlFronent; }
            set { SetPropertyValue<string>("UrlFronent", ref fUrlFronent, value); }
        }
        string fUrlAdmin;
        [Size(500)]
        public string UrlAdmin
        {
            get { return fUrlAdmin; }
            set { SetPropertyValue<string>("UrlAdmin", ref fUrlAdmin, value); }
        }
        string fUrlUpdateData;
        [Size(500)]
        public string UrlUpdateData
        {
            get { return fUrlUpdateData; }
            set { SetPropertyValue<string>("UrlUpdateData", ref fUrlUpdateData, value); }
        }
        int fPriority;
        public int Priority
        {
            get { return fPriority; }
            set { SetPropertyValue<int>("Priority", ref fPriority, value); }
        }
        string fDate;
        [Size(50)]
        public string Date
        {
            get { return fDate; }
            set { SetPropertyValue<string>("Date", ref fDate, value); }
        }
        bool fActive;
        public bool Active
        {
            get { return fActive; }
            set { SetPropertyValue<bool>("Active", ref fActive, value); }
        }
        string fSummary;
        [Size(200)]
        public string Summary
        {
            get { return fSummary; }
            set { SetPropertyValue<string>("Summary", ref fSummary, value); }
        }
        string fNameEL;
        public string NameEL
        {
            get { return fNameEL; }
            set { SetPropertyValue<string>("NameEL", ref fNameEL, value); }
        }
        string fTitle;
        public string Title
        {
            get { return fTitle; }
            set { SetPropertyValue<string>("Title", ref fTitle, value); }
        }
        int fnumberChar;
        public int numberChar
        {
            get { return fnumberChar; }
            set { SetPropertyValue<int>("numberChar", ref fnumberChar, value); }
        }
        public Category(Session session) : base(session) { }
        public Category() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }

    public class sysdiagrams : XPLiteObject
    {
        string fname;
        [Size(128)]
        public string name
        {
            get { return fname; }
            set { SetPropertyValue<string>("name", ref fname, value); }
        }
        int fprincipal_id;
        public int principal_id
        {
            get { return fprincipal_id; }
            set { SetPropertyValue<int>("principal_id", ref fprincipal_id, value); }
        }
        int fdiagram_id;
        [Key(true)]
        public int diagram_id
        {
            get { return fdiagram_id; }
            set { SetPropertyValue<int>("diagram_id", ref fdiagram_id, value); }
        }
        int fversion;
        public int version
        {
            get { return fversion; }
            set { SetPropertyValue<int>("version", ref fversion, value); }
        }
        byte[] fdefinition;
        public byte[] definition
        {
            get { return fdefinition; }
            set { SetPropertyValue<byte[]>("definition", ref fdefinition, value); }
        }
        public sysdiagrams(Session session) : base(session) { }
        public sysdiagrams() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }

    public class Comment : XPLiteObject
    {
        int fId;
        [Key(true)]
        public int Id
        {
            get { return fId; }
            set { SetPropertyValue<int>("Id", ref fId, value); }
        }
        Events fEvent;
        public Events Event
        {
            get { return fEvent; }
            set { SetPropertyValue<Events>("Event", ref fEvent, value); }
        }
        string fContent;
        [Size(1000)]
        public string Content
        {
            get { return fContent; }
            set { SetPropertyValue<string>("Content", ref fContent, value); }
        }
        bool fActive;
        public bool Active
        {
            get { return fActive; }
            set { SetPropertyValue<bool>("Active", ref fActive, value); }
        }
        string fFullName;
        [Size(60)]
        public string FullName
        {
            get { return fFullName; }
            set { SetPropertyValue<string>("FullName", ref fFullName, value); }
        }
        DateTime fDate;
        public DateTime Date
        {
            get { return fDate; }
            set { SetPropertyValue<DateTime>("Date", ref fDate, value); }
        }
        string fEmail;
        [Size(200)]
        public string Email
        {
            get { return fEmail; }
            set { SetPropertyValue<string>("Email", ref fEmail, value); }
        }
        public Comment(Session session) : base(session) { }
        public Comment() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }

    public class Events : XPLiteObject
    {
        int fId;
        [Key(true)]
        public int Id
        {
            get { return fId; }
            set { SetPropertyValue<int>("Id", ref fId, value); }
        }
        string fTitile;
        [Size(500)]
        public string Titile
        {
            get { return fTitile; }
            set { SetPropertyValue<string>("Titile", ref fTitile, value); }
        }
        string fSummary;
        [Size(1000)]
        public string Summary
        {
            get { return fSummary; }
            set { SetPropertyValue<string>("Summary", ref fSummary, value); }
        }
        DateTime fDate;
        public DateTime Date
        {
            get { return fDate; }
            set { SetPropertyValue<DateTime>("Date", ref fDate, value); }
        }
        string fContent;
        [Size(1073741823)]
        public string Content
        {
            get { return fContent; }
            set { SetPropertyValue<string>("Content", ref fContent, value); }
        }
        string fUrlDetailFronend;
        [Size(1000)]
        public string UrlDetailFronend
        {
            get { return fUrlDetailFronend; }
            set { SetPropertyValue<string>("UrlDetailFronend", ref fUrlDetailFronend, value); }
        }
        string fUrlDetailBackend;
        [Size(1000)]
        public string UrlDetailBackend
        {
            get { return fUrlDetailBackend; }
            set { SetPropertyValue<string>("UrlDetailBackend", ref fUrlDetailBackend, value); }
        }
        string fImg;
        [Size(500)]
        public string Img
        {
            get { return fImg; }
            set { SetPropertyValue<string>("Img", ref fImg, value); }
        }
        bool fNew;
        public bool New
        {
            get { return fNew; }
            set { SetPropertyValue<bool>("New", ref fNew, value); }
        }
        bool fActive;
        public bool Active
        {
            get { return fActive; }
            set { SetPropertyValue<bool>("Active", ref fActive, value); }
        }
        int fParent;
        public int Parent
        {
            get { return fParent; }
            set { SetPropertyValue<int>("Parent", ref fParent, value); }
        }
        public Events(Session session) : base(session) { }
        public Events() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }

    public class Index : XPLiteObject
    {
        int fId;
        [Key(true)]
        public int Id
        {
            get { return fId; }
            set { SetPropertyValue<int>("Id", ref fId, value); }
        }
        string fContentVN;
        [Size(1073741823)]
        public string ContentVN
        {
            get { return fContentVN; }
            set { SetPropertyValue<string>("ContentVN", ref fContentVN, value); }
        }
        public Index(Session session) : base(session) { }
        public Index() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }

    [Persistent("khonggianluat_buomto.Members")]
    public class khonggianluat_buomto_Members : XPLiteObject
    {
        int fId;
        [Key(true)]
        public int Id
        {
            get { return fId; }
            set { SetPropertyValue<int>("Id", ref fId, value); }
        }
        string fFullName;
        [Size(50)]
        public string FullName
        {
            get { return fFullName; }
            set { SetPropertyValue<string>("FullName", ref fFullName, value); }
        }
        string fPosition;
        public string Position
        {
            get { return fPosition; }
            set { SetPropertyValue<string>("Position", ref fPosition, value); }
        }
        string fEmail;
        [Size(50)]
        public string Email
        {
            get { return fEmail; }
            set { SetPropertyValue<string>("Email", ref fEmail, value); }
        }
        string fAddress;
        [Size(200)]
        public string Address
        {
            get { return fAddress; }
            set { SetPropertyValue<string>("Address", ref fAddress, value); }
        }
        string fCountry;
        [Size(50)]
        public string Country
        {
            get { return fCountry; }
            set { SetPropertyValue<string>("Country", ref fCountry, value); }
        }
        string fPhone;
        [Size(50)]
        public string Phone
        {
            get { return fPhone; }
            set { SetPropertyValue<string>("Phone", ref fPhone, value); }
        }
        int fIdCate;
        public int IdCate
        {
            get { return fIdCate; }
            set { SetPropertyValue<int>("IdCate", ref fIdCate, value); }
        }
        bool fActive;
        public bool Active
        {
            get { return fActive; }
            set { SetPropertyValue<bool>("Active", ref fActive, value); }
        }
        public khonggianluat_buomto_Members(Session session) : base(session) { }
        public khonggianluat_buomto_Members() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }

    public class Document : XPLiteObject
    {
        int fId;
        [Key(true)]
        public int Id
        {
            get { return fId; }
            set { SetPropertyValue<int>("Id", ref fId, value); }
        }
        string fName;
        [Size(1000)]
        public string Name
        {
            get { return fName; }
            set { SetPropertyValue<string>("Name", ref fName, value); }
        }
        string fUrl;
        [Size(1000)]
        public string Url
        {
            get { return fUrl; }
            set { SetPropertyValue<string>("Url", ref fUrl, value); }
        }
        string fAuthor;
        public string Author
        {
            get { return fAuthor; }
            set { SetPropertyValue<string>("Author", ref fAuthor, value); }
        }
        string fDate;
        [Size(15)]
        public string Date
        {
            get { return fDate; }
            set { SetPropertyValue<string>("Date", ref fDate, value); }
        }
        int fParent;
        public int Parent
        {
            get { return fParent; }
            set { SetPropertyValue<int>("Parent", ref fParent, value); }
        }
        bool fActive;
        public bool Active
        {
            get { return fActive; }
            set { SetPropertyValue<bool>("Active", ref fActive, value); }
        }
        public Document(Session session) : base(session) { }
        public Document() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }
    public static class ComponentSprocHelper
    {
    }


}
